
from django.urls import path,re_path
from .views import *

# 设置应用程序命名空间
app_name = 'goods'

urlpatterns = [
    #path('index/', index,name = "index"),
    path('list/<int:category_id>/<int:page_num>/', ListView.as_view(),name='list'),
    re_path('detail/(?P<sku_id>\d+)/', DetailView.as_view(),name = "detail"),
    path('hot/<int:category_id>/', HostGoodsView.as_view(),name = "hot"),
]
